#include "reg51.h"    

unsigned int x;
sbit led = P2^0;

void main()
{
	x = 50000;
	while(1)	
		{
			led=0;
			while(x--);
			led = 1;
			while(x--);
		}       
}